home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / libs / pnm / bitio.h < prev    next >
C/C++ Source or Header  |  1997-01-31  |  685b  |  24 lines

  1. /*
  2. *******************************************************************************
  3. ** Bitstream I/O                                                             **
  4. ** (c) 1997, Klaus Gebhardt                                                  **
  5. *******************************************************************************
  6. */
  7.  
  8. #ifndef _BITIO_H_
  9. #define _BITIO_H_
  10.  
  11. #include <stdlib.h>
  12. #include <stdio.h>
  13.  
  14. #include "oct-img.h"
  15.  
  16. typedef struct bitstream    *BITSTREAM;
  17.  
  18. extern BITSTREAM bitinit (FILE *, const char *);
  19. extern int bitfini  (BITSTREAM);
  20. extern int bitread  (BITSTREAM, UINT, UINT *);
  21. extern int bitwrite (BITSTREAM, UINT, UINT);
  22.  
  23. #endif /* _BITIO_H_ */
  24.